package com.lagou;

import com.lagou.service.UserServiceImpl;
import io.netty.bootstrap.ServerBootstrap;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by seemygo on 2021/1/14.
 */
@SpringBootApplication
public class ServerBoot {
    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(ServerBoot.class, args);
        //启动服务
        UserServiceImpl.startServer("127.0.0.1","8999");
    }
}
